package org.myapp.datastore.model;

import org.myapp.datastore.DataModel;
import org.myapp.datastore.entity.Sample;

import com.google.appengine.api.datastore.Entity;

public class SampleModel extends DataModel {

    private static final long serialVersionUID = -158764634630013103L;

    public SampleModel() {
        super(Sample.ENTITY.getId());
    }

    public SampleModel(Entity entity) {
        super(entity);
    }

    public String getHoge() {
        return (String) getProperty(Sample.COL_HOGE.getId());
    }

    public void setHoge(String hoge) {
        setProperty(Sample.COL_HOGE.getId(), hoge);
    }
}
